package com.i18n.moka;

import java.time.LocalDateTime;

public class YearConvert implements FiledConvert {
    @Override
    public String convert(String content, LocalDateTime time, String Locale, String dateTimeIdentifier)  {
        content = content.replaceAll(dateTimeIdentifier, time.getYear() + "");
        return content;
    }
}
